#include <iostream>
using std::cout;
using std::endl;

// 以类模版举例
template<class T1, class T2>
class Node
{
public:
	Node()
	{
		cout << "template<class T1, class T2>" << endl;
	}
};

template<class T2>
class Node<int, T2>
{
public:
	Node()
	{
		cout << "class Node<int, T2>" << endl;
	}
};

template<class t1>
class Node<t1, int>
{
public:
	Node()
	{
		cout << "class Node<t1, int>" << endl;
	}
};

//// 特化模版的写法
//template< 未具体化的参数列表 >
//class className< 按顺序写参数, 具体化的参数直接写 >
//{
//	
//}

int main()
{
	Node<double, double> n1;
	Node<int, double> n2;
	Node<double, int> n3;
	
	return 0;
}
